package com.cloud.pole.shop.biz.shops;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ace.cache.annotation.Cache;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.shops.ShopShopsPayMethodMapper;
import com.cloud.pole.shop.model.entity.shops.ShopShopsPayMethod;

@Service
@Transactional(rollbackFor = Exception.class)
public class ShopShopsPayMethodBiz extends BaseBiz<ShopShopsPayMethodMapper, ShopShopsPayMethod> {

	public List<ShopShopsPayMethod> selectListByShopId(Integer shopId) {
		return mapper.selectListByShopId(shopId);
	}

	public void addShopShopsPayMethod(ShopShopsPayMethod shopShopsPayMethod) {
		mapper.appendShopShopsPayMethod(shopShopsPayMethod);
	};

	public void updateShopShopsPayMethod(ShopShopsPayMethod shopShopsPayMethod) {
		mapper.updateendShopShopsPayMethod(shopShopsPayMethod);
	}

	public ShopShopsPayMethod sleectByShopsId(Integer shopId) {
		return mapper.sleectByendShopsId(shopId);
	};
}
